package com.itkaien.ssmconformitymaven.mapper;

import com.itkaien.ssmconformitymaven.entiry.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

//@Mapper
public interface UserMapper {

    @Select("select * from User")
    List<User> selectUsers();


    /**
     * @param userKey
     * @return
     */
   public User selectUserByUserKey(@Param("userKey") String userKey);

}
